.detail {
    overflow: hidden;
    background-color: #fff;
    margin-top: 40px;
}

.detail > .left {
    width: 269px;
    height: 276px;
    display: inline-block;
    position: relative;
    float: left;
}

.detail .up {
    width: 156px;
    height: 208px;
    position: absolute;
    z-index: 2;
}

.detail .down {
    width: 203px;
    height: 6px;
    position: absolute;
    bottom: 19px;
    left: 30px;
    z-index: 1;
}

.detail > .d-right {
    width: 730px;
    float: left;
    border-left: 1px solid #59595940;
}

.detail .info1 {
    height: 95px;
    padding: 22px 40px 0 30px;
}

.name a {
    color: black;
}

.detail .name {
    margin-bottom: 15px;
}

.detail .d-right span {
    margin-right: 12px;
}

.info2 {
    color: black;
    height: 122px;
    padding: 22px 40px 0 30px;
    border-bottom: 1px solid #59595940;
    border-top: 1px solid #59595940;
}

.info2 p {
    margin-bottom: 20px;
}

.info2 a, .info2 span {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    width: 80px;
    height: 30px;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
}

.info2 a:nth-child(2) {
    background-color: #8bc34a;
    margin-right: 20px;
}

.info2 a:nth-child(3) {
    background-color: #f26552;
}

.info3 {
    min-height: 122px;
    padding: 22px 40px 0 30px;
}

.info3 p {
    height: 55px;
    overflow: hidden;
}

.info3 .show-all {
    margin-top: 10px;
    height: 22px;
}

.show-all a {
    float: right;
    width: 50px;
    height: 16px;
    line-height: 22px;
    margin-bottom: 10px;
}

.show-all span {
    height: 16px;
    width: 20px;
}

.comment {
    background-color: #fff;
    margin-top: 30px;
    padding: 20px 0 0 0px;
}

.comment .title {
    height: 60px;
    border-bottom: 1px solid #59595940;
}

.comment .text {
    float: left;
    width: 200px;
    margin: 10px 0 0 30px;
}

.comment .text .shuquan {
    font-size: 16px;
    color: black;
}

.comment .line {
    font-size: 18px;
    margin: 0 5px;
}

.comment-list ul {
    margin: 0 30px 0 30px;
}

.comment-list li {
    margin-top: 20px;
    padding: 0 20px;
    font-size: 14px;
    min-height: 70px;
    border-bottom: 1px solid #59595940;
}

.comment-list li .user {
    display: inline-block;
    height: 20px;
    margin-bottom: 10px;
}

.comment-list li .more {
    text-align: center;
    width: 615px;
    height: 48px;
    background: #fafafa;
    font-size: 14px;
    color: #9e9e9e;
    line-height: 48px;
    margin: 36px auto;
}

.comment-list p {
    margin-bottom: 20px;
}

.comment-list a {
    font-size: 12px;
    color: #03a9f4;
}

.hidden {
    display: none;
}

/*弹出框*/
.side-add,
.side-buy {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100%;
    background-color: #fff;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out; /* 平滑过渡效果 */
    z-index: 1000; /* 确保在操作框之上的层级 */
    overflow-y: auto; /* 允许垂直滚动 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.show {
    right: 0; /* 显示时移动到右边 */
}

.side-add > p,
.side-buy > p {
    font-size: 16px;
    color: black;
}

.closePanelBtn {
    position: absolute;
    right: 30px;
    font-size: 20px;
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
}

.side-add > img,
.side-buy > img {
    width: 170px;
    height: 250px;
    margin: 30px auto;
}

/*计数器*/
.counter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.counter-container>button{
    width: 20px;
}

.counter-container>span{
    font-size: 16px;
}

.counter-input {
    width: 50px;
    text-align: center;
}

.btn-add>.add,
.btn-buy>.buy{
    display: block;
    width: 70px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: #fff;
    margin-top: 30px;
    background-color: red;
    border-radius: 5px;
}

/*评论*/

.comment-add {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100%;
    background-color: #fff;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out; /* 平滑过渡效果 */
    z-index: 1000; /* 确保在操作框之上的层级 */
    overflow-y: auto; /* 允许垂直滚动 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.show {
    right: 0; /* 显示时移动到右边 */
}


.comment-add > p{
    font-size: 16px;
    color: black;
}

.closePanelBtn {
    position: absolute;
    right: 30px;
    font-size: 20px;
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
}

.comment-add > img {
    width: 170px;
    height: 250px;
    margin: 30px auto;
}

.comment-add>.btn-y{
    display: block;
    width: 70px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: #fff;
    margin-top: 30px;
    background-color: red;
    border-radius: 5px;
}


